【ABAP系列】SAP 后台JOB如何DEBUG

公众号:matinal
本文作者:matinal
 

 

前言部分

大家可以关注我的公众号,公众号里的排版更好,阅读更舒适。

正文部分

DBG - Job Debug
 

This is basically for the job has finished execution. This will simulate the exact background scenario with the same selection screen values as used in the job and sy-batch set to 'X'.

1:Use SM37 to get list of jobs, put the cursor on the job, type JDBG in the command line ( without '/' ), and press ENTER
You are in debug mode now.

2:Step through SAP program (press F7 couple of times) until you get to code you need.

posted @ 2019-07-13 16:07  SAPmatinal  阅读(2263)  评论(0编辑  收藏  举报